package com.eascs.banknet.common.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.NamedQuery;
import javax.persistence.Table;

@Entity
@Table(name="o2o_bank_loan_data")
@NamedQuery(name="O2oBankLoanData.findAll", query="SELECT o FROM O2oBankLoanData o")
public class BankLoanData implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 *放款id
	 */
	@Id
	@Column(name="bank_loan_id")
	private String bankLoanId;

	/**
	 *申请金额
	 */
	@Column(name="apply_amount")
	private BigDecimal applyAmount;

	/**
	 *单据编号
	 */
	@Column(name="bill_code")
	private String billCode;

	/**
	 *放款金额
	 */
	@Column(name="loan_amount")
	private BigDecimal loanAmount;

	/**
	 *放款银行
	 */
	@Column(name="loan_bank")
	private String loanBank;

	/**
	 *实际放款日
	 */
	@Column(name="loan_date")
	private Date loanDate;

	/**
	 *放款利率
	 */
	@Column(name="loan_rate")
	private BigDecimal loanRate;

	/**
	 *放款期限
	 */
	@Column(name="loan_term")
	private int loanTerm;

	/**
	 *导入数据类型
	 */
	@Column(name="data_type")
	private String dataType;
	
	/**
	 *操作人
	 */
	@Column(name="oprate_psn")
	private String opratePsn;

	/**
	 *操作时间
	 */
	@Column(name="oprate_time")
	private Date oprateTime;
	
	/**
	 *是否删除
	 */
	@Column(name="is_del")
	private String isDel;
	
	/**
	 *贷款人姓名
	 */
	@Column(name="loaner_name")
	private String loanerName;
	
	/**
	 *贷款人证件号码
	 */
	@Column(name="loaner_card")
	private String loanerCard;
	
	/**
	 *修改人
	 */
	@Column(name="update_psn")
	private String updatePsn;

	/**
	 *修改时间
	 */
	@Column(name="update_time")
	private Date updateTime;

	public String getBankLoanId() {
		return this.bankLoanId;
	}

	public void setBankLoanId(String bankLoanId) {
		this.bankLoanId = bankLoanId;
	}

	public BigDecimal getApplyAmount() {
		return this.applyAmount;
	}

	public void setApplyAmount(BigDecimal applyAmount) {
		this.applyAmount = applyAmount;
	}

	public String getBillCode() {
		return this.billCode;
	}

	public void setBillCode(String billCode) {
		this.billCode = billCode;
	}

	public BigDecimal getLoanAmount() {
		return this.loanAmount;
	}

	public void setLoanAmount(BigDecimal loanAmount) {
		this.loanAmount = loanAmount;
	}

	public String getLoanBank() {
		return this.loanBank;
	}

	public void setLoanBank(String loanBank) {
		this.loanBank = loanBank;
	}

	public Date getLoanDate() {
		return this.loanDate;
	}

	public void setLoanDate(Date loanDate) {
		this.loanDate = loanDate;
	}

	public BigDecimal getLoanRate() {
		return this.loanRate;
	}

	public void setLoanRate(BigDecimal loanRate) {
		this.loanRate = loanRate;
	}

	public int getLoanTerm() {
		return this.loanTerm;
	}

	public void setLoanTerm(int loanTerm) {
		this.loanTerm = loanTerm;
	}

	public String getOpratePsn() {
		return this.opratePsn;
	}

	public void setOpratePsn(String opratePsn) {
		this.opratePsn = opratePsn;
	}

	public Date getOprateTime() {
		return this.oprateTime;
	}

	public void setOprateTime(Date oprateTime) {
		this.oprateTime = oprateTime;
	}

	public String getDataType() {
		return dataType;
	}

	public void setDataType(String dataType) {
		this.dataType = dataType;
	}

	public String getIsDel() {
		return isDel;
	}

	public void setIsDel(String isDel) {
		this.isDel = isDel;
	}

	public String getLoanerName() {
		return loanerName;
	}

	public void setLoanerName(String loanerName) {
		this.loanerName = loanerName;
	}

	public String getLoanerCard() {
		return loanerCard;
	}

	public void setLoanerCard(String loanerCard) {
		this.loanerCard = loanerCard;
	}

	public String getUpdatePsn() {
		return updatePsn;
	}

	public void setUpdatePsn(String updatePsn) {
		this.updatePsn = updatePsn;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
}